package woniuxy.entity;

public class My83Team implements MyClazz{
    String name;
    Person student;//不想限制 入参类型
    Person stu;

    public void setStudent(Girl student) {
        this.student = student;
    }

    public Person getStu() {
        return stu;
    }

    public void setStu(Man stu) {
        this.stu = stu;
    }

    @Override
    public String toString() {
        return "My83Team{" +
                "name='" + name + '\'' +
                ", student=" + student +
                ", stu=" + stu +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Person getStudent() {
        return student;
    }

}
